import bpy,bge
from . import utils
from DynamicBGE.engine.utils import listScenes
import imp
class GameEngine:
    def __init__(self):
        from DynamicBGE.engine import utils
        self.utils=utils
        print(1)
    def __call__(self):
        print(2)
        for scn in listScenes():
            if not scn.suspended:
                for o in scn.objects:
                    assert isinstance(o,bge.types.KX_GameObject)
            
        return self
def cycle():
    global GameEngine
    GameEngine=GameEngine()

        
    